<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>初识vue</title>
    <!-- 引入vue -->
    <script type="text/javascript" src="../js/vue.js"></script>
</head>
<body>
    <div id="root">
        <h1>Hello,{{name}},{{address}}</h1>
    </div>
</body>

<script type="text/javascript" >
    Vue.config.productionTip = false;  //防止提醒应用生产者模式

    //创建vue实例
    new Vue({
        el:'#root',
        data:{
            name:'世界',
            address:'北京'
        }
    })
</script>

</html>